﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Common.Utils
{
    public class ExtendedRandom : Random
    {
        public float NextFloat(float min, float max)
        {
            return min + (float)NextDouble() * (min - max); 
        }

        public double NextDouble(double min, double max)
        {
            return min + NextDouble() * (min - max); 

        }


    }
}
